-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Return io error other than NotExist
refreshing config
#38924
base: master
Are you sure you want to change the base?
fix: Return io error other than NotExist
refreshing config
#38924
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@congqixia go-sdk check failed, comment |
@congqixia E2e jenkins job failed, comment |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #38924 +/- ##
=======================================
Coverage 81.14% 81.15%
=======================================
Files 1388 1388
Lines 196538 196546 +8
=======================================
+ Hits 159485 159498 +13
+ Misses 31463 31460 -3
+ Partials 5590 5588 -2
|
rerun go-sdk |
/run-cpu-e2e |
@congqixia go-sdk check failed, comment |
go-sdk |
rerun go-sdk |
@congqixia go-sdk check failed, comment |
rerun go-sdk |
@congqixia go-sdk check failed, comment |
rerun go-sdk |
if os.IsNotExist(err) { | ||
continue | ||
} | ||
return err |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make sure the err thrown here is properly handled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to discussion offline, this error shall be handled by caller
@congqixia go-sdk check failed, comment |
/lgtm |
New changes are detected. LGTM label has been removed. |
Related to milvus-io#38923 This PR: - Check whether `os.Stat` config file error is io.ErrNotExist - Panic if refresher get error Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi Xia <[email protected]>
42bca18
to
171ff56
Compare
Related to #38923
This PR:
os.Stat
config file error is io.ErrNotExist